package com.config.service;

import java.util.Date;

import org.springframework.transaction.annotation.Transactional;

public interface SystemParamsService {
	
	/**
	 * 设置工厂名称
	 * @param factoryName
	 */
	@Transactional(rollbackFor=Throwable.class)
	void setFactoryName(String factoryName); 
	
	/**
	 * 获得工厂名称
	 * @return
	 */
	@Transactional(readOnly=true,rollbackFor=Throwable.class)
	String getFactoryName();
	
	/**
	 * 设置最后的处理时间点
	 * @param processTime
	 */
	@Transactional(rollbackFor=Throwable.class)
	void setProcessTime(Date processTime);
	
	/**
	 * 获取最后的处理时间点
	 * @return
	 */
	@Transactional(readOnly=true,rollbackFor=Throwable.class)
	Date getProcessTime();

}
